window.onload = function (params) {
    let clipboard = new Clipboard(document.querySelector('body'));
    clipboard.on('success', function (e) {
        if (e.trigger.disabled === false || e.trigger.disabled === undefined) {
            // 使用弹层

        }
    });
    clipboard.on('error', function (e) {


    });
}